const express = require('express')
const router = express.Router()
const controller = require('../controller/profile')

// Get Profile
router.get('/:username', controller.getProfile)

// Follow user
router.post('/:username/follow', controller.followUser)

// Unfollow user
router.delete('/:username/follow', controller.unfollowUser)

module.exports = router